UI Get Text

Command Prototype

sRet = UiDetection.Get(objUiElement,sType,iTimeout,optionArgs)

Command Description

Returns the detected text after conducting UI detection

Parameter Description
Required Parameter
objUiElement--The UI element to search. If a string is passed, it is used as a feature string to search for the specified UIElement to click. If an UiElement is passed, the corresponding UI element is clicked
sType--Acquisition mode
iTimeout--The amount of time (in milliseconds) to wait for the activity to run before the SelectorNotFoundException throws an error. The default value is 10000 milliseconds (10 seconds)
Optional Parameter
bContinueOnError--Whether to continue even if an error is thrown. This field only supports Boolean values (True, False). Defaults to False
iDelayAfter--Added delay (in milliseconds) after executing the activity. Defaults to 300
iDelayBefore--Added delay (in milliseconds) before executing the activity. Defaults to 200
bSetForeground--Whether to activate the target window before executing
return
sRet--Variable to which the output of the function call is saved

results matching ""

    No results matching ""